<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title><#if channel??>${channel.getName()}<#else>商家</#if>-列表</title>
    <link rel="shortcut icon" type="image/x-icon" href="http://img.boyitongcheng.com/favicon.ico" media="screen"/>
    <link href="/common/css/common.css" rel="stylesheet"/>
    <link href="/common/css/list.css" rel="stylesheet"/>
    <link href="/common/css/page.css" rel="stylesheet"/>
    <link href="/common/css/iconfont.css" rel="stylesheet" type="text/css"/>
    <script src="/common/js/jquery-1.6.min.js"></script>
</head>
<body>

<#include "header.ftl"/>

<#include "banner_other.ftl"/>

<div class="sub_nav">
    <div class="main">
        <ul class="sub_navtop">

            <li><a href="/index">首页</a></li>
        <#if topList??>
            <#list topList as top>
                <li <#if channel_id == top.getId()>class="li_hover"</#if>><a <#if channel_id == top.getId()>class="li_hover_a"</#if> href="/list?channel_id=${top.getId()}&position_id=${top.getPositionId()}&style_type=0&price=0&area=0" target="_blank">${top.getName()}</a>
                </li>
            </#list>

        </#if>

        </ul>
    </div>
</div>

<#if parent_id??>

<#else >
<#--<div class="service_main">-->
    <#--<div class="service_list">-->
        <#--<div class="lt lt3 clearfix ">-->
            <#--<div class="lt_l">区域</div>-->
            <#--<div class="lt_c"><a href="/list?channel_id=${channel_id}&position_id=${position_id}&style_type=${style_type!''}&price=0&area=0" <#if area == "0">class="cur"</#if>>全部</a></div>-->
            <#--<div class="lt_r">-->
                <#--<ul class="clearfix">-->
                    <#--<#if area_list??>-->
                        <#--<#list area_list as areat>-->
                            <#--<li><a href="/list?channel_id=${channel_id}&position_id=${position_id}&style_type=${style_type!''}&price=0&area=${areat}" <#if area == areat>class="cur"</#if> >${areat}</a></li>-->
                        <#--</#list>-->
                    <#--</#if>-->
                <#--</ul>-->
            <#--</div>-->
        <#--</div>-->
        <#--<div class="lt lt4 clearfix ">-->
            <#--<div class="lt_l">风格</div>-->
            <#--<div class="lt_c"><a href="/list?channel_id=${channel_id}&position_id=${position_id}&style_type=0&price=${price!''}&area=${area!''}" <#if style_type == "0">class="cur"</#if>>全部</a></div>-->
            <#--<div class="lt_r">-->
                <#--<ul class="clearfix">-->
                    <#--<li><a href="/list?channel_id=${channel_id}&position_id=${position_id}&style_type=1&price=${price!''}&area=${area!''}" <#if style_type == "1">class="cur"</#if>>中式婚礼</a></li>-->
                    <#--<li><a href="/list?channel_id=${channel_id}&position_id=${position_id}&style_type=2&price=${price!''}&area=${area!''}" <#if style_type == "2">class="cur"</#if>>西式婚礼</a></li>-->
                    <#--<li><a href="/list?channel_id=${channel_id}&position_id=${position_id}&style_type=3&price=${price!''}&area=${area!''}" <#if style_type == "3">class="cur"</#if>>汉式婚礼</a></li>-->
                    <#--<li><a href="/list?channel_id=${channel_id}&position_id=${position_id}&style_type=4&price=${price!''}&area=${area!''}" <#if style_type == "4">class="cur"</#if>>民族婚礼</a></li>-->
                <#--</ul>-->
            <#--</div>-->
        <#--</div>-->
        <#--<div class="lt lt3 clearfix ">-->
            <#--<div class="lt_l">价格</div>-->
            <#--<div class="lt_c"><a href="/list?channel_id=${channel_id}&position_id=${position_id}&style_type=${style_type!''}&price=0&area=${area!''}" <#if price == "0">class="cur"</#if>>全部</a></div>-->
            <#--<div class="lt_r">-->
                <#--<ul class="clearfix">-->
                    <#--<li><a href="/list?channel_id=${channel_id}&position_id=${position_id}&style_type=${style_type!''}&price=0-1000&area=${area!''}" <#if price == "0-1000">class="cur"</#if>>1000元以下</a></li>-->
                    <#--<li><a href="/list?channel_id=${channel_id}&position_id=${position_id}&style_type=${style_type!''}&price=1000-2000&area=${area!''}" <#if price == "1000-2000">class="cur"</#if>>1000-2000元</a></li>-->
                    <#--<li><a href="/list?channel_id=${channel_id}&position_id=${position_id}&style_type=${style_type!''}&price=2000-3000&area=${area!''}" <#if price == "2000-3000">class="cur"</#if>>2000-3000元</a></li>-->
                    <#--<li><a href="/list?channel_id=${channel_id}&position_id=${position_id}&style_type=${style_type!''}&price=3000-4000&area=${area!''}" <#if price == "3000-4000">class="cur"</#if>>3000-4000元</a></li>-->
                    <#--<li><a href="/list?channel_id=${channel_id}&position_id=${position_id}&style_type=${style_type!''}&price=4000-0&area=${area!''}" <#if price == "4000-10000">class="cur"</#if>>4000元以上</a></li>-->
                <#--</ul>-->
            <#--</div>-->
        <#--</div>-->

    <#--</div>-->
<#--</div>-->
<!--条件选择 结束-->
</#if>

<!--搜索信息展示区域 开始-->

<div class="main">

<#if bizList??>
    <#list bizList as biz>
        <div class="item">
            <div class="item-sub">

                <a href="/biz_index?user_id=${biz.getId()?string}" target="_blank" class="author">
                    <ul>
                        <li class="author-img"><#if biz.getAvatar()??><img src="http://img.boyitongcheng.com/${biz.getAvatar()!''}!64x64" class="img-responsive"/><#else><img src="/common/images/default_avatar.png" class="img-responsive"/></#if></li>
                        <li class="author-name">
                            <div>
                                <span>${biz.cnName}</span>
                                <p>
                                    <#if biz.authList??>
                                        <#list biz.authList as auth>
                                            <#if auth.authType == 1>
                                                <img src="/common/icon/platform.png" width="20px" height="20px" title="平台认证"/>
                                            <#elseif auth.authType == 2>
                                                <img src="/common/icon/credit.png" width="20px" height="20px" title="诚信认证"/>
                                            <#else>
                                                <#if biz.getUserType() == 3 >
                                                    <img src="/common/icon/college.png" width="20px" height="20px" title="学院认证-中级认证"/>
                                                <#elseif biz.getUserType() ==4 >
                                                    <img src="/common/icon/college_team.png" width="20px" height="20px" title="学院认证-一星团队"/>
                                                </#if>
                                            </#if>
                                        </#list>
                                    </#if>
                                    <span style="margin-left: 40px;color: #ff6537;font-size: 12px;"><#if biz.getBizPrice()??>¥${biz.getBizPrice()?string("0.00")}元<#else >报价待定</#if></span>
                                </p>
                            </div>
                        </li>
                        <#--<li class="author-price">-->
                            <#--<#if biz.getBizPrice()??>¥${biz.getBizPrice()?string("0.00")}元<#else >报价待定</#if>-->
                        <#--</li>-->
                    </ul>
                </a>

                <ul class="message">
                    <li>好评率<span><#if biz.getBizStar()??>${biz.getBizStar()}<#else>0%</#if></span></li>
                    <li>浏览量<span><#if biz.getBizViewCount()??>${biz.getBizViewCount()}<#else>0</#if></span></li>
                    <li>评论数<span><#if biz.getBizCommentCount()??>${biz.getBizCommentCount()}<#else>0</#if></span></li>
                </ul>

                <div class="showimg">
                    <a href="/biz_index?user_id=${biz.getId()?string}" target="_blank" >
                        <#if biz.getBizCover()??>
                            <img src="http://img.boyitongcheng.com/${biz.getBizCover()}!500x500" class="img-responsive"/>
                        <#else >
                            <img src="http://img.boyitongcheng.com/${biz.getAvatar()!'08f0f6ad12f10e54c0367d5a109eb513.jpg'}!500x500" class="img-responsive"/>
                        </#if>

                        <div class="showimg-m">
                            <p>
                                <img src="/common/icon/location.png" width="20px" height="20px"/>
                                <span>${biz.getCity()!''}&nbsp;&nbsp;${biz.getArea()!''}</span>
                            </p>
                        </div>
                    </a>
                </div>
            </div>

        </div>
    </#list>

</#if>

</div>

<!--搜索信息展示区域 结束-->
<!--分页 开始-->
<div class="page">
    <div class="main">
        <ul>
            <#if total gt 0 && totalPage gt 1 && currentPage gt 1>
                <li class="page-item pre"><a href="/list?channel_id=<#if channel_id??>${channel_id}</#if>&parent_id=<#if parent_id??>${parent_id}</#if>&position_id=<#if position_id??>${position_id}</#if>&style_type=${style_type!''}&price=${price!''}&area=${area!''}&page=<#if currentPage??>${currentPage-1}&keyword=${keyword}<#else>1</#if>">上一页</a></li>
            </#if>
            <#--<#if total gt 2>-->
                <#--<li class="page-item active"><a href="#">${currentPage}</a></li>-->
                <#--<li class="page-item"><a href="#">${currentPage+1}</a></li>-->
                <#--<li class="page-item"><a href="#">${currentPage+2}</a></li>-->
            <#--<#else >-->
            <#--<#list 1..currentPage as tp>-->
                <#--<li class="page-item <#if tp == currentPage>active<#else ></#if>"><a href="#">${tp}</a></li>-->
            <#--</#list>-->
            <#--</#if>-->

            <#if total gt 0 && totalPage gt currentPage>
                <#--<li class="page-item dot">...</li>-->
                <li class="page-item next"><a href="/list?channel_id=<#if channel_id??>${channel_id}</#if>&parent_id=<#if parent_id??>${parent_id}</#if>&position_id=<#if position_id??>${position_id}</#if>&style_type=${style_type!''}&price=${price!''}&area=${area!''}&page=<#if currentPage??>${currentPage+1}&keyword=${keyword}<#else>2</#if>">下一页</a></li>
            </#if>
        </ul>
    </div>
</div>
<!--分页 结束-->

<#include "help_link.ftl"/>

<#include "footer.ftl"/>

<#include "toolbar.ftl"/>

<script>
    //页面滚动时悬浮条件筛选条目
    $(function () {
        $(window).scroll(function () {
            var $this = $(this);
            var targetTop = $(this).scrollTop();
            var height = $(window).height();

            if (targetTop >= 172) {
                $("#choose").addClass("fixedChoose");
                $(".empty-placeholder").removeClass("hidden");
            } else {
                $("#choose").removeClass("fixedChoose");
                $(".empty-placeholder").addClass("hidden");
            }
        })
    }());

    $('.showimg').each(function () {
        $(this).bind("mouseenter", function () {
            $(this).find('.showimg-m').fadeIn();
        });

    });

    $('.showimg').each(function () {
        $(this).bind("mouseleave", function () {
            $(this).find('.showimg-m').fadeOut();
        });

    });
    //回到顶部
    $.scrollUp();

</script>
</body>
</html>
